package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.member.common.annotation.Excel;
import com.member.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 导入失败对象 sys_biz_import_fail
 *
 * @author lixinchen
 * @date 2024-01-18
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_import_fail")
public class SysBizImportFailRecharge extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 类型：(1.注册会员导入),(2.充值导入)（3.订单发货）
     */
    private Integer type;

    /**
     * 用户手机号
     */
    @Excel(name = "手机号")
    private String userPhone;

    /**
     * 用户充值余额
     */
    @Excel(name = "用户充值余额")
    private String rechargeBalance;

    /**
     * 失败原因
     */
    @Excel(name = "失败原因")
    private String failureReason;

}
